/**
 * 
 */
package com.yidu.drug.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.drug.dao.FdSellModelMapper;
import com.yidu.drug.dao.SalesReturnModelMapper;
import com.yidu.drug.model.FdSellModel;
import com.yidu.drug.service.FdSellService;

/**分店销售Service的实现接口
 * @author meilina
 * 2018年8月15日上午10:10:55
 * @version 1.0
 */
@Service
public class FdSellServiceImpl implements FdSellService {
	/**
	 * 分店销售的dao接口
	 */
	@Resource
	FdSellModelMapper fdSellDao;
	
	
	
	@Override
	public int deleteByPrimaryKey(String sellId) {
		// TODO Auto-generated method stub
		return fdSellDao.deleteByPrimaryKey(sellId);
	}

	@Override
	public int insert(FdSellModel record) {
		// TODO Auto-generated method stub
		return fdSellDao.insert(record);
	}

	@Override
	public int insertSelective(FdSellModel record) {
		// TODO Auto-generated method stub
		return fdSellDao.insertSelective(record);
	}

	@Override
	public FdSellModel selectByPrimaryKey(String sellId) {
		// TODO Auto-generated method stub
		return fdSellDao.selectByPrimaryKey(sellId);
	}

	@Override
	public int updateByPrimaryKeySelective(FdSellModel record) {
		// TODO Auto-generated method stub
		return fdSellDao.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(FdSellModel record) {
		// TODO Auto-generated method stub
		return fdSellDao.updateByPrimaryKey(record);
	}

	@Override
	public int findCount(FdSellModel fdSell) {
		// TODO Auto-generated method stub
		return fdSellDao.findCount(fdSell);
	}

	@Override
	public List<FdSellModel> findAllFdSell(Map<String, String> paramMap) {
		// TODO Auto-generated method stub
		return fdSellDao.findAllFdSell(paramMap);
	}

}
